<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libheif</Name>
        <Homepage>https://github.com/strukturag/libheif</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admin@pisilinux.org</Email>
        </Packager>
        <License>GPLv3</License>
        <IsA>app</IsA>
        <Summary>HEIF file format decoder and encoder</Summary>
        <Description>HEIF file format decoder and encoder</Description>
        <Archive sha1sum="a99d4f9614f419183b7da13771a7db501ce94773" type="targz">https://github.com/strukturag/libheif/archive/v1.12.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>aom-devel</Dependency>
            <Dependency>x265-devel</Dependency>
            <Dependency>dav1d-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>gdk-pixbuf-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
        </BuildDependencies>
        <!--
        <Patches>
            <Patch>libheif.patch</Patch>
            <Patch level="1">libheif.patch</Patch>
        </Patches>
        -->
    </Source>

    <Package>
        <Name>libheif</Name>
        <RuntimeDependencies>
            <Dependency>aom</Dependency>
            <Dependency>x265</Dependency>
            <Dependency>dav1d</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/mime</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>libheif-devel</Name>
        <Summary>Development files for libheif</Summary>
        <RuntimeDependencies>
            <Dependency>aom-devel</Dependency>
            <Dependency>x265-devel</Dependency>
            <Dependency>dav1d-devel</Dependency>
            <Dependency release="current">libheif</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2022-06-24</Date>
            <Version>1.12.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2021-11-02</Date>
            <Version>1.12.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2021-03-10</Date>
            <Version>1.11.0</Version>
            <Comment>First release</Comment>
            <Name>Pisi Linux Admins</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
